package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 视频文件对象 vod_files
 * 
 * @author ruoyi
 * @date 2024-11-19
 */
public class VodFiles extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键ID */
    private Long id;

    /** 文件名称 */
    @Excel(name = "文件名称")
    private String fileName;

    /** 文件URL */
    @Excel(name = "文件URL")
    private String fileUrl;

    /** rtmp地址 */
    @Excel(name = "rtmp地址")
    private String rtmpUrl;

    /** m3u8地址 */
    @Excel(name = "m3u8地址")
    private String m3u8Url;

    /** 作者 */
    @Excel(name = "作者")
    private String author;

    private Long createdBy;

    private Long updatedBy;

    private Date updatedAt;

    private Date createdAt;

    public Long getCreatedBy() {
        return createdBy;
    }

    public void setCreatedBy(Long createdBy) {
        this.createdBy = createdBy;
    }

    public Long getUpdatedBy() {
        return updatedBy;
    }

    public void setUpdatedBy(Long updatedBy) {
        this.updatedBy = updatedBy;
    }

    public Date getUpdatedAt() {
        return updatedAt;
    }

    public void setUpdatedAt(Date updatedAt) {
        this.updatedAt = updatedAt;
    }

    public Date getCreatedAt() {
        return createdAt;
    }

    public void setCreatedAt(Date createdAt) {
        this.createdAt = createdAt;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setFileName(String fileName) 
    {
        this.fileName = fileName;
    }

    public String getFileName() 
    {
        return fileName;
    }
    public void setFileUrl(String fileUrl) 
    {
        this.fileUrl = fileUrl;
    }

    public String getFileUrl() 
    {
        return fileUrl;
    }
    public void setRtmpUrl(String rtmpUrl) 
    {
        this.rtmpUrl = rtmpUrl;
    }

    public String getRtmpUrl() 
    {
        return rtmpUrl;
    }
    public void setM3u8Url(String m3u8Url) 
    {
        this.m3u8Url = m3u8Url;
    }

    public String getM3u8Url() 
    {
        return m3u8Url;
    }
    public void setAuthor(String author) 
    {
        this.author = author;
    }

    public String getAuthor() 
    {
        return author;
    }



    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("fileName", getFileName())
            .append("fileUrl", getFileUrl())
            .append("rtmpUrl", getRtmpUrl())
            .append("m3u8Url", getM3u8Url())
            .append("author", getAuthor())
            .append("createdAt", getCreatedAt())

            .append("updatedAt", getUpdatedAt())
            .append("createdBy", getCreatedBy())
            .append("updatedBy", getUpdatedBy())
            .toString();
    }
}
